package com.ruoyi.departmental.mapper;

import com.ruoyi.departmental.domain.HisDepartmentalSection;

import java.util.List;

/**
 * 科室Mapper接口
 * 
 * @author ruoyi
 * @date 2024-08-30
 */
public interface HisDepartmentalSectionMapper 
{
    /**
     * 查询科室
     * 
     * @param sectionId 科室主键
     * @return 科室
     */
    public HisDepartmentalSection selectHisDepartmentalSectionBySectionId(Long sectionId);

    /**
     * 查询科室列表
     * 
     * @param hisDepartmentalSection 科室
     * @return 科室集合
     */
    public List<HisDepartmentalSection> selectHisDepartmentalSectionList(HisDepartmentalSection hisDepartmentalSection);

    /**
     * 新增科室
     * 
     * @param hisDepartmentalSection 科室
     * @return 结果
     */
    public int insertHisDepartmentalSection(HisDepartmentalSection hisDepartmentalSection);

    /**
     * 修改科室
     * 
     * @param hisDepartmentalSection 科室
     * @return 结果
     */
    public int updateHisDepartmentalSection(HisDepartmentalSection hisDepartmentalSection);

    /**
     * 删除科室
     * 
     * @param sectionId 科室主键
     * @return 结果
     */
    public int deleteHisDepartmentalSectionBySectionId(Long sectionId);

    /**
     * 批量删除科室
     * 
     * @param sectionIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHisDepartmentalSectionBySectionIds(Long[] sectionIds);
}
